//
//  UIButton+x.h
//  iLookForiPad
//
//  Created by baboy on 13-3-20.
//  Copyright (c) 2013年 baboy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, UIButtonImageLocation) {
    UIButtonImageLocationLeft = 0, //图片左，文字右
    UIButtonImageLocationRight = 1,//图片右，文字左
    UIButtonImageLocationTop = 2,//图片上，文字下
    UIButtonImageLocationBottom = 3//图片下，文字上
};

@interface UIButton(BKKit)
@property(nonatomic, strong) IBInspectable NSString* localizedKey;
@property(nonatomic, assign) IBInspectable NSInteger imageLocation;
@property(nonatomic, assign) IBInspectable BOOL autoResizeWidth;

- (void)sizeToFitWidth;
@end


